API design (naming etc) workaround for overloading methods in JavaScript

welcome to shbcf.ru